home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / PROBLEMS / DISK / BROKEN_DIR next >
Internet Message Format  |  1992-01-19  |  3KB

  1. From rusmv1!Sirius.dfn.de!darwin.sura.net!europa.asd.contel.com!uunet!mcsun!news.funet.fi!sunic!ugle.unit.no!solan1.solan.unit.no!okloster Wed Jan 15 11:11:10 MET 1992
  2. Article: 3825 of comp.sys.acorn
  3. Path: rusmv1!Sirius.dfn.de!darwin.sura.net!europa.asd.contel.com!uunet!mcsun!news.funet.fi!sunic!ugle.unit.no!solan1.solan.unit.no!okloster
  4. From: okloster@solan.unit.no (Oddvar Kloster)
  5. Newsgroups: comp.sys.acorn
  6. Subject: Re: Broken Directory what now ?
  7. Message-ID: <1992Jan14.163738.27199@ugle.unit.no>
  8. Date: 14 Jan 92 16:37:38 GMT
  9. References: <1992Jan13.150822.12142@informatik.uni-wuerzburg.de>
  10. Sender: news@ugle.unit.no (NetNews Administrator)
  11. Reply-To: okloster@solan.unit.no (Oddvar Kloster)
  12. Organization: Norwegian Institute of Technology
  13. Lines: 32
  14.  
  15. A 'broken directory' message means that the directory in question has been
  16. corrupted.  Every time the file system tries to access the contents of the
  17. directory, it finds an error in the directory format and returns the error.
  18. Therefore you can't open it, and you can't delete it, because the machine
  19. wants to be sure that it is empty before deleting it.  
  20.  
  21. I had this problem with my hard disc about a year ago, when for some unknown
  22. reason, 2 meg of it got written over by what looked like a complete memory dump. 
  23. It seems strange that you should get this problem if you only used the standard
  24. functions for accessing files etc.
  25.  
  26. How to fix it:
  27. Do a *EX to find out the physical disc address of the directory. Load it into
  28. memory using Adfs_DiscOp and take a look at it (directories are usually 2048
  29. bytes long.)  If it doesn't look too corrupted, you may try to correct it.
  30. There should be a name like 'hugo' or 'fred' in the first word, and then some
  31. filenames and addresses, and if there are not too many files, the dir should
  32. be symmetrical, that is, the files listed in the beginning are also listed
  33. at the end. However, if the data is just gibberish, or you don't want to
  34. fiddle the bits, then:
  35. Create a new empty directory and find its address. Copy it onto the broken
  36. directory.  Now you will find an empty directory instead of a broken one.
  37. Warning: All files in the broken directory will be gone. If the broken 
  38. directory did contain files over about 500 bytes long, the space they
  39. occupied will not be freed, since the free space map is not updated, so in
  40. effect you will reduce the size of your hard disc.  This is however
  41. probably preferable to having a broken directory.  The only safe way to
  42. reclaim the lost space that I can think of, is to back up the hard disc
  43. and reformat it.  That's what I did. 
  44.  
  45.  
  46. Oddvar.
  47.  
  48. Article 3956 (1 more) in comp.sys.acorn:
  49. From: lorcan@cix.compulink.co.uk (Lorcan Mongey)
  50. Subject: Re: Broken Directory what now ?
  51. Date: 20 Jan 92 01:15:45 GMT
  52. Organization: Gated to News by demon.co.uk
  53. Lines: 37
  54.  
  55.  a specially-created
  56.  directory on a floppy and a sector editor should reveal where exactly
  57.  these checksums are. It's just possible that altering one to match the
  58.  other might fix it, at least for long enough to copy the recovered files
  59.  to somewhere safe.
  60.